Skip to main content
POST
/
workflow
/
{id}
/
reset
[Deprecated] Reset the latest workflow run
curl --request POST \
  --url http://localhost:3001/workflow/{id}/reset \
  --header 'Content-Type: application/json' \
  --data '
{
  "stepName": "<string>",
  "reason": "<string>"
}
'
{
  "workflowId": "<string>",
  "runId": "<string>"
}

Path Parameters

id
string
required

Body

application/json
stepName
string
required

The name of the step to reset after

reason
string

Optional reason for the reset

Response

The workflow was reset successfully

workflowId
string

The original workflow ID

runId
string

The run ID of the new execution created by the reset